import FormPanel from "../view/index.vue";
import Setting from "../view/setting.vue";

const routes = [
    {
        path: '/',
        redirect: '/home',
        meta:{
            title: '首页'
        }
    },
    {
        path: '/home',
        name: 'home',
        component: FormPanel,
        meta:{
            title: '表单面板',
        }
    },
    {
        path: '/setting',
        name: 'setting',
        component: Setting,
        meta:{
            title: '设置面板',
        }
    },
]

export default routes
